﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///FormatHelpercs 的摘要说明
/// </summary>
public class FormatHelper
{
    private FormatHelper() { }

    /// <summary>
    /// 把秒数转换成分钟的样式
    /// </summary>
    public static string SecondsToMinutes(int seconds)
    {
        int sec = seconds % 60;
        int min = seconds / 60;

        return string.Format("{0:00}:{1:00}", min, sec);
    }

}